#import <Foundation/Foundation.h>
#pragma mark - User Settings
#define kAFNetworkingTimeoutInterval 60.0f
#pragma mark - User Settings
#define kIsPrintLog 1   
#define kPrintDebugPostStyle @"[Request URL]:%@ \n[Parameters]:\n--------\n %@ \n-------- \n"
#define kPrintDebugSuccessStyle1 @"\n\nURL Address： %@ \nHeader： %@\nBody： %@ \nResult： %@\n"
#define kPrintDebugSuccessStyle2 @"[Request URL]:%@,[Response]:\n--------\n %@ \n-------- \n"
#define kPrintDebugSuccessStylePOST @"\n\nURL Address：POST %@ \nHeader： %@\nBody： %@ \nResult： %@\n"
#define kPrintDebugSuccessStyleGET @"\n\nURL Address：GET %@ \nHeader： %@\nBody： %@ \nResult： %@\n"
#define kPrintDebugSuccessStylePUT @"\n\nURL Address：DELETE %@ \nHeader： %@\nBody： %@ \nResult： %@\n"
#define kPrintDebugSuccessStyleDELETE @"\n\nURL Address：DELETE %@ \nHeader： %@\nBody： %@ \nResult： %@\n"
#define kPrintDebugFailureStyle1 @"[Request URL]:%@,[Failure error]:\n--------\n %@ \n-------- \n"
#define kPrintDebugFailureStyle2 @"[Request URL]:%@,[Failure error]:%@"
#pragma mark - NS_ENUM
typedef NS_ENUM(NSInteger,NetRequestStatus) {
    NetRequestStatus_Success = 1,
    NetRequestStatus_CanNotReachable    = -10001,
    NetRequestStatus_ResponseDataIsNull = -9999,
    NetRequestStatus_ParameterError     = -10000,
    NetRequestStatus_FormatError        = -10003
};
typedef NS_ENUM(NSInteger,NetRequestType) {
    NetRequestType_POST,
    NetRequestType_GET
};
typedef NS_ENUM(NSInteger, NetworkReachabilityStatus) {
    NetworkReachabilityStatusUnknown          = -1,
    NetworkReachabilityStatusNotReachable     = 0,
    NetworkReachabilityStatusReachableViaWWAN = 1,
    NetworkReachabilityStatusReachableViaWiFi = 2,
};
extern NSInteger NSIntegerFromNetRequestStatus(NetRequestStatus netRequestStatus);
extern NetRequestStatus NetRequestStatusFromNSInteger(NSInteger intNetRequestStatus);
#pragma mark - Define
#define kBaseNetRequestErrorDomain @"BaseNetRequestErrorDomain"
NS_ASSUME_NONNULL_BEGIN
@interface BaseNetRequestMacros : NSObject
@end
NS_ASSUME_NONNULL_END
